Type Library

	Field name:String = "Library without a name."
	Field playlists:PlaylistCollection
	Field tracks:TrackCollection

	Method New()
		playlists = New PlaylistCollection
		tracks    = New TrackCollection
	End Method
	
	Method Clear()
		playlists.Rewind()
		While playlists.Valid()
			playlists.Current().items.Clear()
			playlists.MoveNext()
		End While
		playlists.Clear()
		tracks.Clear()	
	End Method

End Type
